const tagRoutes = {
  path: 'tag',
  name: 'Tag',
  component: () => import('@/views/goods/index.vue'),
  meta: {
    title: '商品标签'
  },
  redirect: '/goods/tag/goods_tag',
  children: [
    {
      path: 'goods_tag',
      name: 'GoodsTag',
      component: () => import('@/views/goods/goods-tag/goods-tag'),
      meta: { title: '商品标签', noCache: true }
    },
    {
      path: 'add_tag',
      name: 'AddTag',
      hidden: true,
      component: () => import('@/views/goods/goods-tag/add-tag'),
      meta: { title: '新增标签', noCache: true }
    },
    {
      path: 'edit_tag',
      name: 'EditTag',
      hidden: true,
      component: () => import('@/views/goods/goods-tag/add-tag'),
      meta: { title: '编辑标签', noCache: true }
    }
  ]
}

export default tagRoutes
